package com.appkubes.mall.core.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 商品扩展
 * @author Rongjie
 */
@Data
@TableName("mall_goods_extend")
@KeySequence(value = "mall_goods_extend_SEQ")
@ApiModel(value = "MallGoodsExtend对象")
public class MallGoodsExtend implements Serializable{

       @ApiModelProperty(value = "归属管理员的id")
       private String appKey;

       @TableId(value = "goods_key", type = IdType.UUID)
       @ApiModelProperty(value = "拓展商品id")
       private String goodsKey;

       private Integer createTime;

       private Integer updateTime;

       @ApiModelProperty(value = "拓展商品名称")
       private String name;

       @ApiModelProperty(value = "拓展商品分类")
       private String catKey;

       @ApiModelProperty(value = "拓展商品排序", example = "1")
       private Integer sort;

       @ApiModelProperty(value = "拓展商品销售价格")
       private BigDecimal price;

       @ApiModelProperty(value = "拓展商品启用状态", example = "1")
       private Integer state;

       @ApiModelProperty(value = "拓展商品热门", example = "1")
       private Integer isHot;

       @ApiModelProperty(value = "拓展商品副标题")
       private String subheading;

       @ApiModelProperty(value = "sku模板信息")
       private String skuTemplateJson;

       @ApiModelProperty(value = "sku模板key")
       private String skuTemplateKey;

       @ApiModelProperty(value = "颜色规格，不加入sku中")
       private String colorAttributes;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
